package com.youka.bussiness.service.res;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 订单信息表 表实体
 *
 * @author lfc
 * @date 2024-06-30 16:47:28
 */
@Data
@ApiModel(value = "订单信息表出参")
public class OrdersDto{
private static final long serialVersionUID=1L;

    
    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    private Integer orderId;
        
    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String orderNumber;
        
    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String productName;
        
    /**
     * 券面金额
     */
    @ApiModelProperty(value = "券面金额")
    private BigDecimal couponAmount;
        
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private Integer quantity;
        
    /**
     * 订单总价
     */
    @ApiModelProperty(value = "订单总价")
    private BigDecimal totalPrice;
        
    /**
     * 下单人
     */
    @ApiModelProperty(value = "下单人")
    private String customerName;
        
    /**
     * 下单人手机号
     */
    @ApiModelProperty(value = "下单人手机号")
    private String customerPhone;
        
    /**
     * 下单时间
     */
    @ApiModelProperty(value = "下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderTime;
        
    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    }
